﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bai26_C_Sharp
{
   interface IA 
   {
       void m1();
   }
}
class B 
{
       void m2()
       {
               Console.WriteLine("Hello B");
       }
}
class C:B, IA  
{
     void m1()
     {
           Console.WriteLine("Interface A");
     }
      void m3()
     {
       Console.WriteLine("Hello");
     }
}
static void Main() {
         IA a=new C();
         a.m1();
         B b = new C();
         b.m2();
     }
}
